<template>
    <div>
        <el-dialog title="提示" :visible.sync="delShow" width="30%" >
            <span>确定要删除吗？</span>
            <span slot="footer" class="dialog-footer">
                <el-button @click="delShow = false">取 消</el-button>
                <el-button type="primary" @click="$emit('delcallback')">确 定</el-button>
            </span>
        </el-dialog>
    </div>
</template>
<script>
import { del } from 'vue';

export default {
    props:{
      
    },
    data() {
        return {
            delShow:false
        }
    },
    methods: {
        delShowFun(type = true){
            this.delShow = type
        }
    }
}
</script>